package com.example.safeassistan.home.model;

import java.io.Serializable;
import java.util.List;

public class InvestigationFinishMOdel implements Serializable {


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : {"defRecordTableId":"1402154770601332737","userList":[{"userId":"1382245672823943169","userName":"ceshi2"}]}
     * timestamp : 1623144379864
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO implements Serializable{
        /**
         * defRecordTableId : 1402154770601332737
         * userList : [{"userId":"1382245672823943169","userName":"ceshi2"}]
         */

        private String defRecordTableId;
        private List<UserListDTO> userList;

        public String getDefRecordTableId() {
            return defRecordTableId;
        }

        public void setDefRecordTableId(String defRecordTableId) {
            this.defRecordTableId = defRecordTableId;
        }

        public List<UserListDTO> getUserList() {
            return userList;
        }

        public void setUserList(List<UserListDTO> userList) {
            this.userList = userList;
        }

        public static class UserListDTO implements Serializable{
            /**
             * userId : 1382245672823943169
             * userName : ceshi2
             */

            private String userId;
            private String userName;
            private Integer bodyStatus;
            private Integer spiritStatus;

            public Integer getBodyStatus() {
                return bodyStatus;
            }

            public void setBodyStatus(Integer bodyStatus) {
                this.bodyStatus = bodyStatus;
            }

            public Integer getSpiritStatus() {
                return spiritStatus;
            }

            public void setSpiritStatus(Integer spiritStatus) {
                this.spiritStatus = spiritStatus;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }
        }
    }
}
